Optimal. Leaf size=19 \[ \frac{x}{2 \left (x^2+1\right )}+\frac{5}{2} \tan ^{-1}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0043252, antiderivative size = 19, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {385, 203} \[ \frac{x}{2 \left (x^2+1\right )}+\frac{5}{2} \tan ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 385
Rule 203
Rubi steps
\begin{align*} \int \frac{3+2 x^2}{\left (1+x^2\right )^2} \, dx &=\frac{x}{2 \left (1+x^2\right )}+\frac{5}{2} \int \frac{1}{1+x^2} \, dx\\ &=\frac{x}{2 \left (1+x^2\right )}+\frac{5}{2} \tan ^{-1}(x)\\ \end{align*}
Mathematica [A] time = 0.0071309, size = 19, normalized size = 1. \[ \frac{x}{2 \left (x^2+1\right )}+\frac{5}{2} \tan ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 16, normalized size = 0.8 \begin{align*}{\frac{x}{2\,{x}^{2}+2}}+{\frac{5\,\arctan \left ( x \right ) }{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.48689, size = 20, normalized size = 1.05 \begin{align*} \frac{x}{2 \,{\left (x^{2} + 1\right )}} + \frac{5}{2} \, \arctan \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.28191, size = 58, normalized size = 3.05 \begin{align*} \frac{5 \,{\left (x^{2} + 1\right )} \arctan \left (x\right ) + x}{2 \,{\left (x^{2} + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.099179, size = 14, normalized size = 0.74 \begin{align*} \frac{x}{2 x^{2} + 2} + \frac{5 \operatorname{atan}{\left (x \right )}}{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.12801, size = 20, normalized size = 1.05 \begin{align*} \frac{x}{2 \,{\left (x^{2} + 1\right )}} + \frac{5}{2} \, \arctan \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]